import time
import unittest

from zuoye_831.Page import Page
from zuoye_831.Page2 import Page2
from selenium import webdriver

class TestCase(unittest.TestCase):
    def setUp(self)->None:
        self.driver = webdriver.Edge()


    def tearDown(self)->None:
        time.sleep(5)
        self.driver.quit()

    def test_01(self):
        po = Page(self.driver)
        po.jiuxian_01()

    def test_02(self):
        po = Page2(self.driver)
        po.jiuxian_02()

if __name__ == '__main__':
    unittest.main()